package com.caishi.lkx.user.ienum.type;

import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.Getter;

/**
 * @Param:
 * @return
 * @Author: huangpeng
 * @Date: 2021/9/26 15:26
 * @Description:
 */

public enum LogUserType {
    //
//    noUserIdAndGroupId("游客身份", 1),
    hasUserId("个人身份", 2),
    hasGroupId("机构用户", 3),
    ;

    @Getter
    final
    String desc;

    @Getter
    @EnumValue
    final
    Integer code;

    LogUserType(String desc, Integer code) {
        this.desc = desc;
        this.code = code;
    }

}
